package com.zmxstudy.gzu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName tb_spu
 */
@TableName(value ="tb_spu")
@Data
public class TbSpu implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 
     */
    private String sn;

    /**
     * 
     */
    private String name;

    /**
     * 
     */
    private String caption;

    /**
     * 
     */
    private Long brandId;

    /**
     * 
     */
    private Long shopId;

    /**
     * 
     */
    private Long category1Id;

    /**
     * 
     */
    private Long category2Id;

    /**
     * 
     */
    private Long category3Id;

    /**
     * 
     */
    private Long templateId;

    /**
     * 
     */
    private Long freightId;

    /**
     * 
     */
    private String image;

    /**
     * 
     */
    private String images;

    /**
     * 
     */
    private String introduction;

    /**
     * 
     */
    private String specItems;

    /**
     * 
     */
    private String paraItems;

    /**
     * 
     */
    private Integer saleNum;

    /**
     * 
     */
    private Integer commentNum;

    /**
     * 
     */
    private String isMarketable;

    /**
     * 
     */
    private String isEnableSpec;

    /**
     * 
     */
    private String isDelete;

    /**
     * 
     */
    private String status;

    @TableField(exist = false)
    private Integer price;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}